Skip to content

Diff tool fails on CBG ExtractPhase #201

@lisad

Description

@lisad
(venv) lisa@LisaPerlAir2021 cgmdata % python3 -m phaser run diabetes output sources/diabetes\ data.json
Running pipeline 'GlucosePipeline'
INFO:phaser.io:Data had added fields in some rows, which were duplicated across all rows to save as valid CSV. If this is not the desired behavior, options include: save as JSON, mark extra fields as not-saved in Pipeline, or set all fields explicitly on all rows.  (Added fields found: firmwareVersion, bolus, insulinSensitivity, timeProcessing, units, recommended, sleepSchedules, model, basalSchedules, scheduleName, value, overrideType, expectedNormal, carbInput, deviceModel, deviceTags, timezone, byUser, deliveryContext, status, bgTargets, bgTarget, insulinOnBoard, subType, alarmType, primeTarget, version, carbRatios, activeSchedule, bgInput, insulinSensitivities, insulinCarbRatio, reason, computerTime, client, automatedDelivery, volume, previousOverride, manufacturers, normal, deviceSerialNumber, serialNumber, deviceManufacturers)
INFO:phaser.pipeline:Loading input from sources/diabetes data.json for ExtractPhase
INFO:phaser.pipeline:ExtractPhase saved output to output/ExtractPhase_output.csv
INFO:phaser.pipeline:Loading input from output/ExtractPhase_output.csv for CalculationPhase
INFO:phaser.pipeline:CalculationPhase saved output to output/CalculationPhase_output.csv
(venv) lisa@LisaPerlAir2021 cgmdata % python3 -m phaser diff diabetes output
ERROR running 'diff': 'ExtractPhase' object has no attribute 'column_rename_dict'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions