Class GeoScrapeTaskCommand
java.lang.Object
ubic.gemma.core.job.TaskCommand
ubic.gemma.core.tasks.maintenance.GeoScrapeTaskCommand
- All Implemented Interfaces:
Serializable
-
Field Summary
Fields inherited from class TaskCommand
MAX_QUEUING_MILLIS, MAX_RUNTIME_MILLIS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.getSince()Deprecated.getSkip()Deprecated.Records to skip at the start of the resolved window; seeScrapeRequest.skip.Deprecated.GEO accession to resume from; seeScrapeRequest.startAt.Class<? extends Task<? extends TaskCommand>> Deprecated.Obtain the class of theTaskobject that will be run for this command.getUntil()Deprecated.booleanisDryRun()Deprecated.voidsetCriteria(Collection<String> criteria) Deprecated.voidsetDryRun(boolean dryRun) Deprecated.voidsetMaxRecords(Integer maxRecords) Deprecated.voidDeprecated.voidDeprecated.Records to skip at the start of the resolved window; seeScrapeRequest.skip.voidsetStartAt(String startAt) Deprecated.GEO accession to resume from; seeScrapeRequest.startAt.voidDeprecated.Methods inherited from class TaskCommand
getMaxQueueMillis, getMaxRuntimeMillis, getPersistJobDetails, getSecurityContext, getSubmitter, isEmailAlert, setEmailAlert, setMaxQueueMillis, setMaxRuntimeMillis, setPersistJobDetails
-
Constructor Details
-
GeoScrapeTaskCommand
public GeoScrapeTaskCommand()Deprecated.
-
-
Method Details
-
getTaskClass
Deprecated.Description copied from class:TaskCommandObtain the class of theTaskobject that will be run for this command.If null, the task command cannot be submitted through
TaskRunningService.submitTaskCommand(TaskCommand)and a task object must be explicitly created.For now, this how we map from TaskCommand to Task that actually runs it. We have to have this mapping somewhere until we make Tasks themselves serializable. Tasks are not readily serializable because they have dependencies to Spring services. at which point TaskCommand can be deprecated(or remain as TaskContext).
- Overrides:
getTaskClassin classTaskCommand
-
getSince
Deprecated. -
getUntil
Deprecated. -
getMaxRecords
Deprecated. -
getCriteria
Deprecated. -
isDryRun
public boolean isDryRun()Deprecated. -
getStartAt
Deprecated.GEO accession to resume from; seeScrapeRequest.startAt. -
getSkip
Deprecated.Records to skip at the start of the resolved window; seeScrapeRequest.skip. -
setSince
Deprecated. -
setUntil
Deprecated. -
setMaxRecords
Deprecated. -
setCriteria
Deprecated. -
setDryRun
public void setDryRun(boolean dryRun) Deprecated. -
setStartAt
Deprecated.GEO accession to resume from; seeScrapeRequest.startAt. -
setSkip
Deprecated.Records to skip at the start of the resolved window; seeScrapeRequest.skip.
-
scrape_geo_and_open_triage.py. The agent discovers candidates, decides what is worth preboarding, and opens its own triage ticket, so Gemma no longer needs to run the scrape itself.Nothing here is removed yet and it still works. What it does that the agent must therefore also do: it creates the
PreboardedExperimentrows, writes theGeoScrapeWatermarkaudit row, and opens ONESCREENINGticket per batch targeting that watermark -- deliberately not one per candidate.The preboarded write API the agent uses instead is
POST /preboarded+POST /preboarded/{id}/annotation-sets, withGET /workflow/queue?datasetType=preboarded_experimentfor the queue.