Skip to content

Commit

Permalink
fix: universe extensions in gapfill
Browse files Browse the repository at this point in the history
In commit cd57c56, only carve.py was adapted to read the universe files from the .xml.gz files, not the .xml files (which were deleted in the same commit). gapfill then was failing as standalone command, as it could not find the universe files.
  • Loading branch information
BenjaSanchez committed Oct 22, 2021
1 parent ca05f1c commit c5cdff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion carveme/cli/gapfill.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def maincall(inputfile, media, mediadb=None, universe=None, universe_file=None,

if not universe_file:
if universe:
universe_file = "{}{}universe_{}.xml".format(project_dir, config.get('generated', 'folder'), universe)
universe_file = "{}{}universe_{}.xml.gz".format(project_dir, config.get('generated', 'folder'), universe)
else:
universe_file = project_dir + config.get('generated', 'default_universe')

Expand Down

0 comments on commit c5cdff9

Please sign in to comment.