Skip to content

Commit 0ed48dc

Browse files
committed
ACSIS: remove temporary whitespace in TRANSITION
This removes the whitespace added in the reverse translation of TRANSITION to TRANSITI in commit 6542005 as the catalog no longer contains this whitespace issue.
1 parent 6c86a8b commit 0ed48dc

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Diff for: lib/Astro/FITS/HdrTrans/ACSIS.pm

-5
Original file line numberDiff line numberDiff line change
@@ -699,11 +699,6 @@ sub from_TRANSITION {
699699

700700
my $transition = $generic_headers->{'TRANSITION'};
701701

702-
if (defined $transition) {
703-
# Restore whitespace issue to allow comparison of untranslated header.
704-
$transition =~ s/ - / - /;
705-
}
706-
707702
return (TRANSITI => $transition);
708703
}
709704

Diff for: t/data/acsis.hdr

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ LSTEND = '13:31:51.7873' / LST at end of observation
3939
INT_TIME= 76.00493878126 / [s] Total time spent integrating, for entire ob
4040
BACKEND = 'ACSIS ' / Name of the backend
4141
MOLECULE= 'CO ' / Target molecular species
42-
TRANSITI= '2 - 1 ' / Target transition for MOLECULE
42+
TRANSITI= '2 - 1 ' / Target transition for MOLECULE
4343
TEMPSCAL= 'TA* ' / Temperature scale in use
4444
DRRECIPE= 'focus_dr_recipe.ent'/ ACSIS-DR recipe name
4545
BWMODE = '1GHzx2048' / ACSIS total bandwidth set up

0 commit comments

Comments
 (0)