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

Error with empty Flag file on minisdm #59

Open
KshitijAggarwal opened this issue May 9, 2019 · 8 comments
Open

Error with empty Flag file on minisdm #59

KshitijAggarwal opened this issue May 9, 2019 · 8 comments

Comments

@KshitijAggarwal
Copy link
Collaborator

Error when running search on a minisdm with applyonlineflags = True and an empty Flag.xml file.

Screen Shot 2019-05-09 at 2 04 52 PM

@caseyjlaw
Copy link
Contributor

I don't think this is related to an empty Flag.xml file, since I cannot reproduce it with another SDM like this.
Can you reproduce it and tell me which SDM you used?

@KshitijAggarwal
Copy link
Collaborator Author

Here is the SDM I used:
realfast_19A-393_TEST_B2319_000.58602.86878855324_1556572173889

It is in the staging area as well.

@KshitijAggarwal
Copy link
Collaborator Author

I used the following prefs:

prefs={'gainfile': gainfile, 'saveplots': False, 'savenoise': False, 'savesols': False,
'savecandcollection': True, 'savecanddata': True,
'applyonlineflags': True, 'fftmode': 'cuda', 'clustercands': (4,3)}

st = rfpipe.state.State(sdmfile='/lustre/aoc/projects/fasttransients/staging/realfast_19A-393_TEST_B2319_000.58602.86878855324_1556572173889/', sdmscan=1, inprefs=prefs,
preffile=os.path.join(workdir, 'realfast.yml'))

@caseyjlaw
Copy link
Contributor

I can't reproduce this in the development branch. Are you using that?

@KshitijAggarwal
Copy link
Collaborator Author

Yes, I am using the development branch, and am facing this issue with other SDM files as well.

@caseyjlaw
Copy link
Contributor

Could you try updating lxml and installing the latest realfast code?

@KshitijAggarwal
Copy link
Collaborator Author

I updated lxml, and installed the latest development code, but I still get this error.

@caseyjlaw
Copy link
Contributor

Oh, have you tried installing the latest sdmpy? It hasn't changed much, but the development branch in realfastvla/sdmpy repo may be more up to date.
Also, let me know if you were using the pip version of sdmpy. If that one is not working, then I should push a new version to pypi.

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

No branches or pull requests

2 participants