Skip to content

Commit

Permalink
correct --file_id help; bug-fix: args.file -> args.instcat
Browse files Browse the repository at this point in the history
  • Loading branch information
jchiang87 committed Aug 9, 2018
1 parent 5b037bb commit 9be2b37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin.src/imsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
action='store_true',
help='disable sensor effects')
parser.add_argument('--file_id', type=str, default=None,
help='ID string to use for checkpoint and centroid filenames.')
help='ID string to use for checkpoint filenames.')
parser.add_argument('--create_centroid_file', default=False, action="store_true",
help='Write centroid file(s).')
parser.add_argument('--seed', type=int, default=267,
Expand All @@ -39,7 +39,7 @@
help='number of processes to use in multiprocessing mode')
args = parser.parse_args()

commands = desc.imsim.metadata_from_file(args.file)
commands = desc.imsim.metadata_from_file(args.instcat)

obs_md = desc.imsim.phosim_obs_metadata(commands)

Expand All @@ -51,7 +51,7 @@
apply_sensor_model = not args.disable_sensor_model

image_simulator \
= desc.imsim.ImageSimulator(args.file, psf,
= desc.imsim.ImageSimulator(args.instcat, psf,
numRows=args.numrows,
config=args.config_file,
seed=args.seed,
Expand Down

0 comments on commit 9be2b37

Please sign in to comment.