Skip to content

Commit

Permalink
Ignoring file names with wrong file name pattern in holding pen.
Browse files Browse the repository at this point in the history
  • Loading branch information
Planner committed Apr 21, 2023
1 parent 46e5260 commit ac2dc35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ desisurvey change log
0.19.1 (unreleased)
-------------------

* Ignore file names with wrong file name pattern in holding pen.
* Update API documentation for completeness (PR `#151`_).
* Harden AP against NaNs in offline pipeline EFFTIMEs; zero such cases.
* Add 10 deg dusk to afternoon plan output.
Expand Down
2 changes: 1 addition & 1 deletion py/desisurvey/holdingpen.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def maintain_svn(svn, untrackedonly=True, verbose=False):
if verbose:
logger.warn('unrecognized filename: "{}", '
'ignoring.'.format(fname))
continue
continue
tileid = int(match.group(1))
idx, mask = tiles.index(tileid, return_mask=True)
if not mask:
Expand Down

0 comments on commit ac2dc35

Please sign in to comment.