Skip to content

Commit

Permalink
Fix PathMapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennings Zhang authored and Jennings Zhang committed Aug 5, 2022
1 parent cfa0826 commit cc86102
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
chris_plugin~=0.0.14
chris_plugin==0.1.1
loguru~=0.6.0
2 changes: 1 addition & 1 deletion surfdisterr.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def main(options: Namespace, inputdir: Path, outputdir: Path):
logger.debug('Discovering input files...')
subjects = [
Subject(mask, in_output.parent, in_output.parent / Path(mask.name).with_suffix(options.chamfer_suffix))
for mask, in_output in PathMapper(inputdir, outputdir, glob=options.mask, suffix='')
for mask, in_output in PathMapper.file_mapper(inputdir, outputdir, glob=options.mask, suffix='.obj')
]

nproc = len(os.sched_getaffinity(0))
Expand Down

0 comments on commit cc86102

Please sign in to comment.