Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix **self._kwargs #47

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mrakitin
Copy link
Member

@mrakitin mrakitin commented Nov 2, 2023

Discovered today while working on NSLS-II-QAS/profile_collection#30.

@mrakitin mrakitin requested a review from tacaswell November 2, 2023 23:11
@mrakitin
Copy link
Member Author

mrakitin commented Nov 2, 2023

@tacaswell, we discovered the issue while trying to pass the metadata to TiffWriter.write(). Do you happen to know how to format the metadata properly? We tried the following, but it did not work:

        metadata={"imagej_metadata_tag": {
            "Info": datetime.datetime.now().isoformat()
            }
        }

@mrakitin
Copy link
Member Author

mrakitin commented Nov 2, 2023

=========================== short test summary info ============================
FAILED suitcase/tiff_series/tests/tests.py::test_2d_data[False] - KeyError: 'stream_data'
FAILED suitcase/tiff_series/tests/tests.py::test_2d_data[True] - KeyError: 'stream_data'
FAILED suitcase/tiff_series/tests/tests.py::test_3d_data[False] - KeyError: 'stream_data'
FAILED suitcase/tiff_series/tests/tests.py::test_3d_data[True] - KeyError: 'stream_data'
FAILED suitcase/tiff_series/tests/tests.py::test_2d_data_lies[False] - Failed: DID NOT WARN. No warnings of type (<class 'Warning'>,) were emitted.
The list of emitted warnings is: [].
FAILED suitcase/tiff_series/tests/tests.py::test_2d_data_lies[True] - Failed: DID NOT WARN. No warnings of type (<class 'Warning'>,) were emitted.
The list of emitted warnings is: [].
================= 6 failed, 724 passed, 240 warnings in 9.40s ==================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant