Skip to content

Commit

Permalink
Remove if Butler exists checks from bin.src scripts.
Browse files Browse the repository at this point in the history
Checks are made against local filesystem only. This stopped
being a valid assumption since S3Datastore was implemented
as the data repository does not need to be local anymore.

The failure case should be handled internaly by Butler itself
at instantiation time.
  • Loading branch information
DinoBektesevic committed Apr 15, 2020
1 parent 13db8fb commit 00e071b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions bin.src/makeGen3DcrSubfilters.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@

args = parser.parse_args()

# Verify any supplied paths actually exist on disk
if not os.path.exists(args.butler):
print("Butler path specified does not exists")
sys.exit(1)

config = MakeGen3DcrSubfiltersConfig()
if args.configFile:
if not os.path.exists(args.configFile):
Expand Down
5 changes: 0 additions & 5 deletions bin.src/makeGen3Skymap.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@

args = parser.parse_args()

# Verify any supplied paths actually exist on disk
if not os.path.exists(args.butler):
print("Butler path specified does not exists")
sys.exit(1)

config = MakeGen3SkyMapConfig()
if args.configFile:
if not os.path.exists(args.configFile):
Expand Down

0 comments on commit 00e071b

Please sign in to comment.