Class UpdateGeoSourceMetadataCli
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.EnvironmentAware, CLI
Investigation.sourceMetadata is written at import time only, so it exists for what has
been imported since that shipped and for nothing else — one experiment on production as of
2026-08-28. This walks the corpus and fills it in.
🛑 It writes the document and nothing else. GeoUpdateConfig gates every other
effect of a refetch — experiment tags, sample characteristics, publications — and this sets none
of them. That matters more here than in an ordinary refresh: GEO is not the authority on a
curated field, and a corpus-wide job that quietly took GEO's opinion on 23,000 datasets would be
very hard to undo.
One GEO fetch per experiment is the cost, so this is a slow job by construction. It is resumable:
an experiment that already has a document is skipped unless --force is given, so an
interrupted run continues where it stopped.
-
Nested Class Summary
Nested classes/interfaces inherited from interface CLI
CLI.CommandGroup -
Field Summary
Fields inherited from class ExpressionExperimentManipulatingCLI
auditEventService, auditTrailService, eeService, entityLocator, entityUrlBuilderFields inherited from class AbstractCLI
ABORTED, FAILURE, FAILURE_FROM_ERROR_OBJECTS, log, SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildExperimentOptions(org.apache.commons.cli.Options options) A short memorable name for the command that can be used to locate this class.Obtain a short description for this command explaining what it does.protected voidprocessExperimentOptions(org.apache.commons.cli.CommandLine commandLine) protected voidprocessExpressionExperiment(ubic.gemma.model.expression.experiment.ExpressionExperiment ee) Process anExpressionExperiment.Methods inherited from class ExpressionExperimentManipulatingCLI
addCellMetadataFileOptions, addDataFileOptions, addDataFileOptions, addDesignFileOptions, addExpressionDataFileOptions, addSingleCellExpressionDataFileOptions, addSingleExperimentAutoOption, addSingleExperimentEnumOption, addSingleExperimentOption, addSingleExperimentOption, buildOptions, doAuthenticatedWork, formatExperiment, getCellMetadataFileOptionValue, getCommandGroup, getDataFileOptionValue, getDataFileOptionValue, getDesignFileOptionValue, getExpressionDataFileOptionValue, getSingleCellExpressionDataFileOptionValue, isAbortOnError, noNeedToRun, postprocessExpressionExperiments, preprocessExpressionExperiments, processAllExpressionExperiments, processExpressionExperiments, processOptions, readChangelogEntryFromConsole, refreshExpressionExperimentFromGemmaWeb, refreshExpressionExperimentFromGemmaWebSilently, setAbortOnError, setAllIsLazy, setDefaultToAll, setSingleExperimentMode, setUseReferencesIfPossible, toBatchObjectMethods inherited from class AbstractAutoSeekingCLI
addAutoOption, addAutoOption, addErrorObject, addErrorObject, addErrorObject, addForceOption, addForceOption, addLimitingDateOption, addSuccessObject, addSuccessObject, addWarningObject, addWarningObject, getAutoSeekEventType, getLimitingDate, isAutoSeek, isForce, setForceMethods inherited from class AbstractAuthenticatedCLI
afterPropertiesSet, doWork, setAuthenticateAnonymously, setEnvironment, setRequireLoginMethods inherited from class AbstractCLI
abort, addBatchOption, addErrorObject, addErrorObject, addErrorObject, addSuccessObject, addSuccessObject, addThreadsOption, addWarningObject, addWarningObject, allowPositionalArguments, awaitBatchExecutorService, executeCommand, getApplicationContext, getBatchTaskExecutor, getBatchTaskProgressReporter, getCliContext, getCommandAliases, getHelpFooter, getNumThreads, getOptions, getPipelineJobReporter, getUsage, promptConfirmationOrAbort, setAllowPositionalArguments, setApplicationContext, setEstimatedMaxTasks, setReportFrequencyMillis
-
Constructor Details
-
UpdateGeoSourceMetadataCli
public UpdateGeoSourceMetadataCli()
-
-
Method Details
-
getCommandName
Description copied from interface:CLIA short memorable name for the command that can be used to locate this class.- Specified by:
getCommandNamein interfaceCLI- Overrides:
getCommandNamein classAbstractCLI- Returns:
- name; if null or blank, this will not be available as a shortcut command.
-
getShortDesc
Description copied from interface:CLIObtain a short description for this command explaining what it does.- Specified by:
getShortDescin interfaceCLI- Overrides:
getShortDescin classAbstractCLI
-
buildExperimentOptions
protected void buildExperimentOptions(org.apache.commons.cli.Options options) - Overrides:
buildExperimentOptionsin classExpressionExperimentManipulatingCLI
-
processExperimentOptions
protected void processExperimentOptions(org.apache.commons.cli.CommandLine commandLine) throws org.apache.commons.cli.ParseException - Overrides:
processExperimentOptionsin classExpressionExperimentManipulatingCLI- Throws:
org.apache.commons.cli.ParseException
-
processExpressionExperiment
protected void processExpressionExperiment(ubic.gemma.model.expression.experiment.ExpressionExperiment ee) Description copied from class:ExpressionExperimentManipulatingCLIProcess anExpressionExperiment.- Overrides:
processExpressionExperimentin classExpressionExperimentManipulatingCLI
-