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

With the new image template code, concatenation doesn't work well #237

Open
olebole opened this issue Oct 28, 2022 · 0 comments
Open

With the new image template code, concatenation doesn't work well #237

olebole opened this issue Oct 28, 2022 · 0 comments
Labels
Dist:NOAO Releases distributed by NOAO (up to 2.16.1)

Comments

@olebole
Copy link
Member

olebole commented Oct 28, 2022

Describe the bug

The new image template code (in sys/imio/imt/imx.x) has some bugs with concatenating with strings.

To Reproduce
Steps to reproduce the behavior.

ecl> set use_vo=yes          # ensure the new code is used
ecl> set use_new_imt=yes     #           ''
ecl> imcopy dev$pix pix.fits
dev$pix -> pix.fits
ecl> files pix.fits > flist
ecl> imrename @flist new//@flist
ERROR: segmentation violation

Expected behavior

like for the old template code:

ecl> set use_new_imt=no
ecl> imrename @flist new//@flist
ecl> dir
flist        newpix.fits  

System details:

  • Version 2.16.1, 2.17

Additional context

There seem other mentions of this, but they partially belong to older versions.

@olebole olebole changed the title With the new image template code, concatenat With the new image template code, concatenatenation doesn't work well Oct 28, 2022
@olebole olebole added the Dist:NOAO Releases distributed by NOAO (up to 2.16.1) label Oct 28, 2022
@olebole olebole changed the title With the new image template code, concatenatenation doesn't work well With the new image template code, concatenation doesn't work well Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dist:NOAO Releases distributed by NOAO (up to 2.16.1)
Development

No branches or pull requests

1 participant