Skip to content

Commit

Permalink
minor requirements tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlittle committed Jun 14, 2018
1 parent add8e47 commit ddff1e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements/all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#conda: esmpy>=7.0 (only python=2)
#gdal : under review -- not tested at present
mo_pack
nc-time-axis # conda: nc_time_axis
nc-time-axis
pandas
stratify #conda: python-stratify
pyugrid
Expand Down
2 changes: 1 addition & 1 deletion requirements/gen_conda_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def read_conda_reqs(fname, options):
with open(fname, 'r') as fh:
for line in fh:
line = line.strip()
if '#conda:' in line:
if CONDA_PATTERN in line:
line_start = line.index(CONDA_PATTERN) + len(CONDA_PATTERN)
line = line[line_start:].strip()
if 'only python=2' in line:
Expand Down

0 comments on commit ddff1e7

Please sign in to comment.