cms-gem-daq-project / gem-plotting-tools

Repository for GEM commissioning plotting tools
GNU General Public License v3.0
1 stars 26 forks source link

Bug Report: plotTimeSeries.py --endDate Option Doesn't Work #144

Closed ReyerBand closed 6 years ago

ReyerBand commented 6 years ago

Brief summary of issue

When calling plotTimeSeries.py with the --endDate option, the script still creates a list with scan dates up to the current time.

Types of issue

Expected Behavior

Calling plotTimeSeries.py with --startDate=(time_1) and --endDate=(time_2) should generate a list of scans between the two specified date.

Current Behavior

Calling plotTimeSeries.py with --startDate=(time_1) and --endDate=(time_2) gives a list of scan dates between time_1 and the current date.

Steps to Reproduce (for bugs)

  1. Call sudo -u gempro -i plotTimeSeries.py --listOfScanDatesOnly --startDate=2018.07.13 --endDate=2018.07.24 (for example)
  2. Read the output listOfScanDates.txt file in the /gemdata/GEMINIXXLY/scurve area
  3. Last date in the list will be after the specified end date

Possible Solution (for bugs)

Context (for feature requests)

Your Environment

bdorney commented 6 years ago

Solved by #146