Skip to content

Commit

Permalink
fixes for postfix and black version
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAnnex committed Apr 17, 2022
1 parent 1c0c78b commit baa1a9e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions asap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ channels:
- defaults
dependencies:
- python=>3.8
- black=19.10b0
- pvl
- nb_conda_kernels
- jupyterlab
Expand Down
1 change: 1 addition & 0 deletions asap_36.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ channels:
- defaults
dependencies:
- python=3.6.7
- black=19.10b0
- pvl
- nb_conda_kernels
- jupyterlab
Expand Down
5 changes: 4 additions & 1 deletion asap_stereo/asap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,9 @@ def generate_hirise_pair_list(self, one, two):
o.write('\n')

@staticmethod
def notebook_pipeline_make_dem(left: str, right: str, config: str, refdem: str, gcps: str = '', maxdisp: float = None, downsample: int = None, demgsd: float = 1.0, imggsd: float = 0.25, max_ba_iterations: int = 50, alignment_method = 'rigid', step_kwargs = None, working_dir ='./', out_notebook=None, **kwargs):
def notebook_pipeline_make_dem(left: str, right: str, config: str, refdem: str, gcps: str = '', maxdisp: float = None, downsample: int = None,
demgsd: float = 1.0, imggsd: float = 0.25, max_ba_iterations: int = 50, alignment_method = 'rigid',
postfix = None, step_kwargs = None, working_dir ='./', out_notebook=None, **kwargs):
"""
First step in HiRISE DEM pipeline that uses papermill to persist log
Expand Down Expand Up @@ -1322,6 +1324,7 @@ def notebook_pipeline_make_dem(left: str, right: str, config: str, refdem: str,
'alignment_method': alignment_method,
'downsample': downsample,
'max_ba_iterations': max_ba_iterations,
'postfix': postfix,
'step_kwargs' : step_kwargs
},
request_save_on_cell_execute=True,
Expand Down

0 comments on commit baa1a9e

Please sign in to comment.