Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions stixcore/io/product_processors/fits/processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,10 +763,8 @@ def generate_filename(cls, product, *, version=0, status="", header=True):
f"{product.utc_timerange.center.strftime('%Y%m%dT000000')}-"
+ f"{product.utc_timerange.center.strftime('%Y%m%dT235959')}"
)
elif (
product.type not in ["sci", "flarelist"]
or (product.name == "burst-aspect")
or (product.type == "cal" and product.level == "CAL")
elif (product.type not in ["sci", "flarelist"] or (product.name == "burst-aspect")) and not (
product.type == "cal" and product.level == "CAL"
):
date_range = product.utc_timerange.center.strftime("%Y%m%d")

Expand Down
2 changes: 0 additions & 2 deletions stixcore/products/CAL/energy.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,4 @@ def from_level1(cls, l1product, parent="", idlprocessor=None, ecc_manager=None):
products.append(cal)
# end of for each spectrum

if len(products) > 1:
pass
return products