Skip to content

Commit

Permalink
Add .abs.disterr.txt to default values
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Jul 19, 2023
1 parent c820308 commit 2723f78
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion surfigures/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

__version__ = '1.1.1'
__version__ = '1.2.0'

DISPLAY_TITLE = r"""
_ __ _
Expand Down
2 changes: 1 addition & 1 deletion surfigures/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
parser.add_argument('-o', '--output', default='{}.png', type=str,
help='output file template and file type. "{}" is replaced by the subject name.')

parser.add_argument('-r', '--range', default='.disterr.txt:-2.0:2.0,.smtherr.txt:0.0:2.0',
parser.add_argument('-r', '--range', default='.disterr.txt:-2.0:2.0,.abs.disterr.txt:0.0:2.0,.smtherr.txt:0.0:2.0',
type=str, help='Ranges for specific file extensions.')
parser.add_argument('--min', type=str, default='0.0', help='Default range minimum value')
parser.add_argument('--max', type=str, default='10.0', help='Default range maximum value')
Expand Down
2 changes: 1 addition & 1 deletion surfigures/inputs/find.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def _find_left_and_right_files(folder: Path, ext: str) -> Sequence[tuple[Path, P
left_files = _find_side_files(folder, ext, constants.LEFT_WORDS)
pairs = _find_right_files_for(left_files)
return _validate_pairs(pairs)


def _is_left_folder_containing_obj(folder: Path) -> bool:
return _contains_obj(folder) and _is_side_folder(folder, 'left')
Expand Down

0 comments on commit 2723f78

Please sign in to comment.