Closed tmcqueen-materials closed 2 weeks ago
The changes to resolve #17 added the new parameter cps to the brukerrawconverter backend. This is great.
cps
brukerrawconverter
It would be good if cps can be toggled by a caller to the front-end fastAPI. I believe that means replacing https://github.com/paradimdata/project_chameleon/blob/283ef7fcd540c375c5dbfca391005daf407fc38d/api.py#L443
with something like:
cps = None if 'cps' in data: if data['cps']: cps = True else: cps = False brukerrawconverter(input_file, output_file, cps)
This does not go in the common handler because it is specific to this call.
Not sure how I forgot this but it is in there now
The changes to resolve #17 added the new parameter
cps
to thebrukerrawconverter
backend. This is great.It would be good if
cps
can be toggled by a caller to the front-end fastAPI. I believe that means replacing https://github.com/paradimdata/project_chameleon/blob/283ef7fcd540c375c5dbfca391005daf407fc38d/api.py#L443with something like:
This does not go in the common handler because it is specific to this call.