Tim-Oliver
04/24/2023, 3:49 PMnicholas
04/24/2023, 3:53 PMTim-Oliver
04/24/2023, 3:57 PMnicholas
04/24/2023, 4:02 PMNicolas Garcia Ospina
04/25/2023, 7:19 AMconlist
and List
are not working anymore)Tim-Oliver
04/25/2023, 3:08 PMlist[int]
is displayed different from list[float]
. The first dialog with the json field allows to enter a list of numbers, where as the second dialog with the drop down menu only allows to enter numbers which are different from one another.class Preprocess3D(BaseModel):
file_extension: Literal["tif", "stk", "nd", "czi"] = "nd"
crop_start: int
crop_end: int
bin_axes: list[int] # or use list[float]
And here the flow signature:
@flow()
def analysis_3D(
preprocess: Preprocess3D,
):
...
nicholas
04/25/2023, 3:11 PMTim-Oliver
04/25/2023, 3:14 PMlist[str]
behaves the same. The issue with not being able to add the same item twice exists in the process infrastructure block, where the command is entered, as well.nicholas
04/26/2023, 4:41 PMTim-Oliver
04/27/2023, 1:34 PMnicholas
04/27/2023, 2:06 PMTim-Oliver
04/28/2023, 7:35 AMnicholas
04/28/2023, 1:37 PMNicolas Garcia Ospina
04/28/2023, 1:37 PMconlist(constr())
that have a default value have vanished in the UInicholas
04/28/2023, 1:42 PM["1", "2", "1"]
should work, for instance - i’m surprised to hear the default values have vanished though, it sounds like there’s something unexpected going onTim-Oliver
04/28/2023, 1:42 PMnicholas
04/28/2023, 1:43 PMTim-Oliver
04/28/2023, 1:44 PMNicolas Garcia Ospina
04/28/2023, 1:44 PMStéphan Taljaard
04/28/2023, 1:45 PMUUID | list[UUID]
to run properly. On the array view, it also pre-populated as []
. I played around with input options, but it never correctly parsed for the flow run to accept it.nicholas
04/28/2023, 1:45 PMJustin Trautmann
04/28/2023, 1:53 PM