File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
python/lsst/ap/association Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ class PackageAlertsConfig(pexConfig.Config):
4848 """
4949 schemaFile = pexConfig .Field (
5050 dtype = str ,
51- doc = "Schema definition file for the avro alerts." ,
52- default = alertPack .get_path_to_latest_schema ( )
51+ doc = "Schema definition file URI for the avro alerts." ,
52+ default = str ( alertPack .get_uri_to_latest_schema () )
5353 )
5454 minCutoutSize = pexConfig .RangeField (
5555 dtype = int ,
@@ -75,7 +75,7 @@ class PackageAlertsTask(pipeBase.Task):
7575
7676 def __init__ (self , ** kwargs ):
7777 super ().__init__ (** kwargs )
78- self .alertSchema = alertPack .Schema .from_file (self .config .schemaFile )
78+ self .alertSchema = alertPack .Schema .from_uri (self .config .schemaFile )
7979 os .makedirs (self .config .alertWriteLocation , exist_ok = True )
8080
8181 @timeMethod
You can’t perform that action at this time.
0 commit comments