Skip to content

Fix data types#84

Closed
manke-cubert wants to merge 2 commits intomainfrom
feature/fix_types
Closed

Fix data types#84
manke-cubert wants to merge 2 commits intomainfrom
feature/fix_types

Conversation

@manke-cubert
Copy link
Copy Markdown
Contributor

  • Add missing allow_overwrite parameter to SaveArgs
  • Change Sensor temperature data type to float (SensorInfo)
  • Change spectral multiplier data type to float (PanSharpeningSettings)

@manke-cubert manke-cubert changed the title Fix data types; Fix data types Mar 23, 2026
Comment thread cuvis/FileWriteSettings.py Outdated
@manke-cubert manke-cubert requested a review from schmid-ls March 24, 2026 09:25
@dataclass
class SaveArgs(GeneralExportSettings):
merge_mode: SessionMergeMode = SessionMergeMode.Default
allow_fragmentation: bool = False
Copy link
Copy Markdown
Contributor

@schmid-ls schmid-ls Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has the “allow_fragmentation” option been removed in general? The option was still used in the Python example => will fail now.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so allow_fragmentation was replaced my merge mode as an enum

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.

3 participants