Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • arosics arosics
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Daniel Scheffler
  • arosicsarosics
  • Issues
  • #23
Closed
Open
Issue created Nov 30, 2018 by Daniel Scheffler@danschefOwner

TypeError in case COREG or COREG_LOCAL is called with an in-memory reference or target image and path_out is set to 'auto'.

In case COREG or COREG_LOCAL is called with an in-memory reference or target image and path_out is set to 'auto', the dollowing exception is raised:

Error
Traceback (most recent call last):
  File "/home/gfz-fe/python_GFZ/python/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/home/gfz-fe/python_GFZ/python/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/home/gfz-fe/scheffler/python/arosics/tests/test_COREG.py", line 116, in test_shift_calculation_inmem_gAs_path_out_auto
    v=True))
  File "/home/gfz-fe/scheffler/python/arosics/tests/test_COREG.py", line 61, in run_shift_detection_correction
    CR = COREG(ref, tgt, **params)
  File "/home/gfz-fe/scheffler/python/arosics/arosics/CoReg.py", line 285, in __init__
    self._set_outpathes(im_ref, im_tgt)
  File "/home/gfz-fe/scheffler/python/arosics/arosics/CoReg.py", line 349, in _set_outpathes
    dir_out, fName_out = os.path.dirname(path_im_tgt), ''
  File "/home/gfz-fe/python_GFZ/python/lib/python3.6/posixpath.py", line 154, in dirname
    p = os.fspath(p)
Exception: expected str, bytes or os.PathLike object, not NoneType
Assignee
Assign to
Time tracking