scratchrealm / pc-spike-sorting

Protocaas apps for spike sorting
0 stars 1 forks source link

processor simplifications #4

Closed magland closed 1 year ago

magland commented 1 year ago

@luiztauffer FYI, I made some simplifications here.

parameter, input_file, output_file, parameter_group have all been collapsed into field and the type of the attribute is used to determine which it is. Not all args are relevant for every type - for example, default only applies to parameters. But I think it's worth the simplification, because things were getting confusing (e.g., the difference between input_file and pr.InputFile).

yes, I know this brings us even closer to reinventing pydantic :)

I also renamed ProtocaasProcessor to ProcessorBase