Skip to content

Commit 7b33cc8

Browse files
committed
Using """ everywhere, so that ''' can be used to comment out large chunks of code
1 parent 2e7d4fc commit 7b33cc8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pcpostprocess/leak_correct.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def linear_reg(V, I):
3333

3434
def get_QC_dict(QC, bounds={'Rseal': (10e8, 10e12), 'Cm': (1e-12, 1e-10),
3535
'Rseries': (1e6, 2.5e7)}):
36-
'''
36+
"""
3737
Returns a filtered version of a QC dict from syncropatch_export, keeping only
3838
wells that pass the simple QC rules below.
3939
@@ -47,7 +47,7 @@ def get_QC_dict(QC, bounds={'Rseal': (10e8, 10e12), 'Cm': (1e-12, 1e-10),
4747
4848
@returns:
4949
A dictionary where the keys are wells and the values are sweeps that passed QC
50-
'''
50+
"""
5151
# TODO decouple this code from syncropatch export
5252
# TODO don't use dict above: there's only ever 3 values so can have 3 args!
5353

@@ -75,7 +75,8 @@ def get_QC_dict(QC, bounds={'Rseal': (10e8, 10e12), 'Cm': (1e-12, 1e-10),
7575

7676
def get_leak_corrected(current, voltages, times, ramp_start_index,
7777
ramp_end_index, **kwargs):
78-
"""Leak correct all data in a trace
78+
"""
79+
Leak correct all data in a trace
7980
8081
@Params:
8182
current: the observed currents taken from the entire sweep

0 commit comments

Comments
 (0)