-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Milestone
Description
Is your feature request related to a problem? Please describe.
When a module has been thermal cycled, we need to keep track of this. Panthera has now added in a thermal cycle attribute to the modules in panthera the GUI should now update this after a thermal cycle test has been ran.
Describe the solution you'd like
An example POST request snippet from Scott is shown below:
import requests
name_module = "EX0002"
subdetector = "TFPX"
username = "something"
userpass = "something"
url = "https://panthera.fit.edu/request_handlers/thermal_cycle_handler.php"
response = requests.post(url, data={
"name_module": name_module,
"subdetector": subdetector,
"username": username,
"userpass": userpass
})
if response.status_code == 200:
print("Success:", response.text)
else:
print(f"Error {response.status_code}:", response.text)
Describe alternatives you've considered
N/a
Additional context
The handling of thermal cycles in the GUI needs to be managed first. We should also add in a separate button to put in thermal cycled modules without also starting a thermal cycle test.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers