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

Default values are not picked up #116

Open
anawas opened this issue Aug 26, 2024 · 0 comments
Open

Default values are not picked up #116

anawas opened this issue Aug 26, 2024 · 0 comments

Comments

@anawas
Copy link

anawas commented Aug 26, 2024

Summary

My default values for RA and DEC set in a notebook are not picked up and displayed on the website. If a set

RA = 250  # http://odahub.io/ontology#PointOfInterestRA
DEC = -80  # http://odahub.io/ontology#PointOfInterestDEC

in the cell tagged wih parameters, then the values are not displayed on the webpage.

Why is this important

I want to give a great user experience. The first-time user should not need to set any values. He should only click on 'Submit' and get a result thereafter. Therefore, I need to provide default values that make sense. With the current default parameter the workflow fails with error

Backend failed. RuntimeError: No sources available at RA=265.97845833, DEC=-29.74516667 for chosen field_of_view=2.0
of survey='gleam 72-231 MHz, RA[0.0,360.0]/DEC[-90.0,30.0] deg'. It is also possible, that start_freq=72000000.0, 
num_of_channels=1 & freq_inc_hz=8000000.0 results in having no sources. Please check the survey's frequencies 
and sky-coverage.

How to reproduce

  1. Have a look at the notebook in project karabo-dirty-image-sim.ipynb
  2. Look for the cell tagged parameters. There you'll find the two lines above.
  3. Now open the MMODA webpage and select the karabo-dirty-image-sim tab.
  4. Have a look at the fields RA and Dec. The values don't match those set in the notebook.

Expected result

The values set in the parameter cell are picked up by the bot and displayed on the website. The fields RA and Dec should therefore display RA: 250 and Dec: -80.

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

1 participant