Spaces:
Sleeping
Sleeping
Update Quality_Control.py
Browse files- Quality_Control.py +3 -3
Quality_Control.py
CHANGED
|
@@ -215,8 +215,8 @@ ls_samples
|
|
| 215 |
|
| 216 |
# In[29]:
|
| 217 |
path = os.path.join(input_data_dir, ls_samples[0])
|
| 218 |
-
df = load_dataset('csv', data_files = path )
|
| 219 |
-
|
| 220 |
df.head(10)
|
| 221 |
|
| 222 |
|
|
@@ -225,7 +225,7 @@ df.head(10)
|
|
| 225 |
|
| 226 |
# First gather information on expected headers using first file in ls_samples
|
| 227 |
# Read in the first row of the file corresponding to the first sample (index = 0) in ls_samples
|
| 228 |
-
|
| 229 |
|
| 230 |
|
| 231 |
# Make sure the file was imported correctly
|
|
|
|
| 215 |
|
| 216 |
# In[29]:
|
| 217 |
path = os.path.join(input_data_dir, ls_samples[0])
|
| 218 |
+
#df = load_dataset('csv', data_files = path )
|
| 219 |
+
df = pd.read_csv(os.path.join(input_data_dir, ls_samples[0]),index_col = 0, nrows = 1)
|
| 220 |
df.head(10)
|
| 221 |
|
| 222 |
|
|
|
|
| 225 |
|
| 226 |
# First gather information on expected headers using first file in ls_samples
|
| 227 |
# Read in the first row of the file corresponding to the first sample (index = 0) in ls_samples
|
| 228 |
+
df = pd.read_csv(os.path.join(input_data_dir, ls_samples[0]) , index_col = 0, nrows = 1)
|
| 229 |
|
| 230 |
|
| 231 |
# Make sure the file was imported correctly
|