Commit d79b2851 authored by Vigeesh Gangadharan's avatar Vigeesh Gangadharan
Browse files

Merge branch 'ifu-integration' into 'master'

Ifu integration

Closes #45, #47, #49, and #48

See merge request !34
parents c3b61987 e273b93c
Pipeline #4291 passed with stage
in 3 minutes and 16 seconds
This diff is collapsed.
......@@ -240,11 +240,10 @@ PROGRAM VFISV_SPEC
DEALLOCATE(SI,SQ,SU,SV,INV,ICONT)
IF (STRAYCASE /= 0) DEALLOCATE(STRAY)
DEALLOCATE(SFIT,SIFIT,SQFIT,SUFIT,SVFIT)
CALL MPI_COMM_DISCONNECT(intracomm, ierr)
CALL MPI_COMM_FREE(intracomm, ierr)
CALL MPI_COMM_DISCONNECT(intercomm, ierr)
CALL MPI_FINALIZE(IERR)
!PRINT*,'Disconnected'
!
END PROGRAM VFISV_SPEC
from grisinv import vfisv
\ No newline at end of file
import pytest
def test_fitscardgroup():
import os
import pkgutil
from astropy.io import fits
from grisinv import FitsCardGroup
hdr = fits.Header()
keywordlist = (
pkgutil.get_data("grisinv", os.path.join("data_files", "header_list.csv"))
.decode()
.split("\n")
)
for ikeywords in keywordlist:
hsection = ikeywords.split(",")[0]
sec_keywords = ikeywords.split(",")[1:]
sect_card = FitsCardGroup(title=hsection, cardlist=sec_keywords)
hdr.extend(sect_card.to_header(), end=True)
......@@ -4,7 +4,7 @@ mpi4py = pytest.importorskip("mpi4py",reason='mpi4py not available')
def test_mpi4py():
from mpi4py import MPI
from grisinv import vfisv
#from grisinv import vfisv
comm = MPI.COMM_WORLD
size = comm.Get_size()
rank = comm.Get_rank()
......
from grisinv import vfisv
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment