Skip to content

Make dit is always a float#156

Open
hugobuddel wants to merge 1 commit intomainfrom
make-dit-always-float
Open

Make dit is always a float#156
hugobuddel wants to merge 1 commit intomainfrom
make-dit-always-float

Conversation

@hugobuddel
Copy link
Contributor

Hopefully prevents this error in DataItem.save().

TypeMismatchError: CPL error stack trace (most recent error last):
  File "cpl_propertylist.c", line 6884, in cpl_propertylist_copy_filter_
Type mismatch: name: ESO DET DIT

  File "cpl_propertylist.c", line 6756, in cpl_propertylist_copy_name_
Type mismatch

This error only popped up in metis_pupil_imaging when applying AstarVienna/METIS_Pipeline#169 ...

Hopefully prevents this error in DataItem.save().

TypeMismatchError: CPL error stack trace (most recent error last):
  File "cpl_propertylist.c", line 6884, in cpl_propertylist_copy_filter_
Type mismatch: name: ESO DET DIT

  File "cpl_propertylist.c", line 6756, in cpl_propertylist_copy_name_
Type mismatch
@JenniferKarr
Copy link
Collaborator

This got folded into another update, and I've added a direct conversion to float so that we don't have to worry about the YAML files any more.

@JenniferKarr
Copy link
Collaborator

This was folded into a different update; I've also added an explicit type conversion so we don't need to fix YAML files.

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.

2 participants