fixing bugs with ci pipeline
This commit is contained in:
@ -8,7 +8,6 @@ from app.models import (
|
||||
Sample,
|
||||
DewarType,
|
||||
DewarSerialNumber,
|
||||
Slot,
|
||||
SampleEvent,
|
||||
)
|
||||
from datetime import datetime, timedelta
|
||||
@ -526,7 +525,8 @@ event_types = ["Mounted", "Failed", "Unmounted", "Lost"]
|
||||
|
||||
|
||||
def generate_sample_events(samples, chance_no_event=0.2, chance_lost=0.1):
|
||||
"""Generate events for samples with timestamps increasing between different samples."""
|
||||
"""Generate events for samples with timestamps
|
||||
increasing between different samples."""
|
||||
|
||||
events = []
|
||||
# Set the start time to yesterday at 9:33 AM
|
||||
|
Reference in New Issue
Block a user