| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,7 +21,7 @@ | |||
| 21 | 21 | columns = ['molecule_id','charge','db','drugsnow','hba','hbd','loc','nrb','smiles'] | |
| 22 | 22 | ||
| 23 | 23 | # Get number of lines in the CSV file | |
| 24 | - nlines = subprocess.check_output('wc -l %s' % in_csv, shell=True) | ||
| 24 | + nlines = subprocess.check_output(['wc', '-l', in_csv]) | ||
| 25 | 25 | nlines = int(nlines.split()[0]) | |
| 26 | 26 | ||
| 27 | 27 | # connect to database | |
| Back | FazBrowse Home | New Git URL |
0 commit comments