| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The "load" parameter explicitly controls whether to load the specified
manifest file.
Update "foregrounds.py" to use this new "load" parameter, which prevent
the manifest file been loaded. Otherwise, if the output manifest file
already exists, it will be loaded to Products, which may cause
inconsistencies with the manifest of newly simulated products.
|
| |
|
| |
|
|
|
|
|
| |
This new method will be used by the "ProductsAJAXHandler" for the "open"
and "download" actions.
|
| |
|
|
|
|
|
|
| |
* Fix "load()" to assign the "self.manifestfile" attribute
* Add and use the simple method "get_product()";
* Make parameters of "checksum()" are required;
|
|
|
|
|
|
| |
* Convert "range()" to list, also make sure "value" is a Python list
* Parameter "outfile" of "dump()" is optional
* Correct the wrong "self.userconfig" to "self.manifestfile"
|
| |
|
|
|
|
|
|
|
|
| |
* foregrounds.py: Use "configs.get_path()" to get the manifest file path;
* foregrounds.py: Use "min()" and "max()" since "self.frequencies" has
been changed to be a plain Python list instead of a Numpy array;
* foregrounds.py: Change the variable "freqid" to "freq_id";
* products.py: Assign the attribute "self.manifestfile"
|
| |
|
|
|
|
| |
Also update the "add_component()" method to use "add_product()"
|
|
The class "Products" may build the manifest for the simulation products,
and can manage/manipulate this manifest.
|