File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -691,12 +691,17 @@ def generate_inference_job(self, classification_type):
691691
692692 def queue_necessary_classifications (self ):
693693 """Check if collection needs classification and queue jobs if needed"""
694-
695- # Determine which classifications are needed
696- if self .division == Divisions .ASTROPHYSICS :
694+ tdamm_collections = [
695+ "imagine_the_universe" ,
696+ "physics_of_the_cosmos" ,
697+ "stsci_space_telescope_science_institute" ,
698+ ]
699+ if self .config_folder in tdamm_collections :
697700 self .generate_inference_job (ClassificationType .TDAMM )
698- elif self .division == Divisions .GENERAL :
699- self .generate_inference_job (ClassificationType .DIVISION )
701+ # if self.division == Divisions.ASTROPHYSICS:
702+ # self.generate_inference_job(ClassificationType.TDAMM)
703+ # elif self.division == Divisions.GENERAL:
704+ # self.generate_inference_job(ClassificationType.DIVISION)
700705 else :
701706 # No classification needed, proceed directly to migration
702707 migrate_dump_to_delta_and_handle_status_transistions .delay (self .id )
You can’t perform that action at this time.
0 commit comments