Skip to content

Commit ddcbb05

Browse files
committed
Added comment for header validation
1 parent be33216 commit ddcbb05

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/lib/tind_spread/tind_validation.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ module TindValidation
77
# validates the header row
88
# should be 3 digits for field, 2 for indicator (can be _, number), one digit or number for subfield
99
# optionally can have a ('-' followed by a number). This is used to group columns into similar fields
10-
# the header row can also be just "Filename" or "001". The program will create the proper fields for those
10+
# the header row can also be just "Filename" or "001". The program will create the proper fields for those.
11+
# The fft will be created at runtime based off of the filename.
1112
def self.valid_header?(str)
1213
valid_patterns = [
1314
/^\d+:001/,

0 commit comments

Comments
 (0)