There are different forms of query for different datasets. For example '/DA2_ORN' searches the type field for hemibrain but not flywire (which expects '/type:DA2_ORN'). Furthermore malecns uses superclass where flywire uses super_class and manc uses class. We should give the option (in cf_ids()) to handle these vagaries – as well as the option not to do so if the end user wants complete control. For new users this would be more convenient (I think) so it should be on by default. Therefore there should probably also be a global option for this behaviour in case some scripts currently rely on it. We may want to display a message to alert the user if the query is modified in this way
There are different forms of query for different datasets. For example
'/DA2_ORN'searches the type field for hemibrain but not flywire (which expects'/type:DA2_ORN'). Furthermore malecns usessuperclasswhere flywire usessuper_classand manc usesclass. We should give the option (incf_ids()) to handle these vagaries – as well as the option not to do so if the end user wants complete control. For new users this would be more convenient (I think) so it should be on by default. Therefore there should probably also be a global option for this behaviour in case some scripts currently rely on it. We may want to display a message to alert the user if the query is modified in this way/normalise_queryarg (defaults toTRUE)coconatfly.normalise_queryoption (implicitly TRUE)idspec_type()) that figures out if the id specification is one of:is_key()provides a pattern)is_key()has a compound argument that seems to indicate if it is a vector of one or more keys or potentially a single string listing multiple comma/space separated keys.cf_metaoutput fields tosuperclass,class,subclass.