Skip to content

Commit

Permalink
Typo fix. Added updated keyword to notebook file.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmccully committed Jan 12, 2025
1 parent 9a2f265 commit 500190e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion banzai_floyds/dbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def get_order_location(dateobs, order_id, instrument, db_address):
location_query = location_query.filter(OrderLocation.good_until >= dateobs)
location_query.order_by(desc(OrderLocation.id))
order_location = location_query.first()
order_location = [order_location.xdominmin, order_location.xdomainmax]
order_location = [order_location.xdomainmin, order_location.xdomainmax]
return order_location


Expand Down
12 changes: 6 additions & 6 deletions characterization_testing/WavelengthCalibration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@
"\n",
"ogg_instrument = get_instruments_at_site('ogg', os.environ[\"DB_ADDRESS\"])[0]\n",
"\n",
"os.system(f'banzai_floyds_add_order_location --order-id=1 --instrument-id={ogg_instrument.id} --xmin=0 --xmax=1550 --db-address={os.environ[\"DB_ADDRESS\"]}');\n",
"os.system(f'banzai_floyds_add_order_location --order-id=2 --instrument-id={ogg_instrument.id} --xmin=500 --xmax=1835 --db-address={os.environ[\"DB_ADDRESS\"]}');\n",
"os.system(f'banzai_floyds_add_order_location --order-id=1 --instrument-id={ogg_instrument.id} --xdomainmin=0 --xdomainmax=1550 --db-address={os.environ[\"DB_ADDRESS\"]}');\n",
"os.system(f'banzai_floyds_add_order_location --order-id=2 --instrument-id={ogg_instrument.id} --xdomainmin=500 --xdomainmax=1835 --db-address={os.environ[\"DB_ADDRESS\"]}');\n",
"\n",
"coj_instrument = get_instruments_at_site('coj', os.environ[\"DB_ADDRESS\"])[0]\n",
"os.system(f'banzai_floyds_add_order_location --order-id=1 --instrument-id={coj_instrument.id} --xmin=55 --xmax=1600 --db-address={os.environ[\"DB_ADDRESS\"]}');\n",
"os.system(f'banzai_floyds_add_order_location --order-id=2 --instrument-id={coj_instrument.id} --xmin=615 --xmax=1920 --db-address={os.environ[\"DB_ADDRESS\"]}');\n",
"os.system(f'banzai_floyds_add_order_location --order-id=1 --instrument-id={coj_instrument.id} --xdomainmin=55 --xdomainmax=1600 --db-address={os.environ[\"DB_ADDRESS\"]}');\n",
"os.system(f'banzai_floyds_add_order_location --order-id=2 --instrument-id={coj_instrument.id} --xdomainmin=615 --xdomainmax=1920 --db-address={os.environ[\"DB_ADDRESS\"]}');\n",
"\n",
"os.system(f'banzai_floyds_add_order_location --order-id=1 --instrument-id={coj_instrument.id} --xmin=0 --xmax=1550 --good-after=\"2024-12-01T00:00:00.000000\" --db-address={os.environ[\"DB_ADDRESS\"]}');\n",
"os.system(f'banzai_floyds_add_order_location --order-id=2 --instrument-id={coj_instrument.id} --xmin=615 --xmax=1965 --good-after=\"2024-12-01T00:00:00.000000\" --db-address={os.environ[\"DB_ADDRESS\"]}');"
"os.system(f'banzai_floyds_add_order_location --order-id=1 --instrument-id={coj_instrument.id} --xdomainmin=0 --xdomainmax=1550 --good-after=\"2024-12-01T00:00:00.000000\" --db-address={os.environ[\"DB_ADDRESS\"]}');\n",
"os.system(f'banzai_floyds_add_order_location --order-id=2 --instrument-id={coj_instrument.id} --xdomainmin=615 --xdomainmax=1965 --good-after=\"2024-12-01T00:00:00.000000\" --db-address={os.environ[\"DB_ADDRESS\"]}');"
]
},
{
Expand Down

0 comments on commit 500190e

Please sign in to comment.