rosemariafontana commited on
Commit
6f97f98
·
verified ·
1 Parent(s): 85af614

changed colons to equal signs

Browse files
Files changed (1) hide show
  1. app.py +30 -30
app.py CHANGED
@@ -35,38 +35,38 @@ class Status(str, Enum):
35
 
36
  # Depending on how well this works, come back and hard-code this based on some parameter(s)
37
  class Convention(str, Enum):
38
- ACTIVITY: 'log--activity'
39
- OBSERVATION: 'log--observation'
40
- FLAMING: 'log--activity--flaming'
41
- GRAZING: 'log--activity--grazing'
42
- MOWING: 'log--activity--mowing'
43
- SOLARIZATION: 'log--activity--solarization'
44
- TERMINATION: 'log--activity--termination'
45
- TILLAGE: 'log--activity--tillage'
46
- HARVEST: 'log--activity--harvest'
47
- HERBICIDE: 'log--input--herbicide_or_pesticide'
48
- IRRIGATION: 'log--input--irrigation'
49
- LIME: 'log--input--lime'
50
- ORGANIC: 'log--input--organic_matter'
51
- SEEDTREAT: 'log--input--seed_treatment'
52
- SEEDLINGTREAT: 'log--input--seedling_treatment'
53
- MODUS: 'log--lab_test--modus_lab_test'
54
- SEEDING: 'log--seeding--seeding'
55
- TRANSPLANT: 'log--transplanting--transplant'
56
 
57
  class Structure(str, Enum):
58
- CLAY: 'clay'
59
- SANDYCLAY: 'sandy clay'
60
- SILTYCLAY: 'silty clay'
61
- SANDYCLAYLOAM: 'sandy clay loam'
62
- SILYCLAMLOAM: 'silty clay loam'
63
- CLAYLOAM: 'clay loam'
64
- SANDYLOAM: 'sandy loam'
65
- SILTLOAM: 'silt loam'
66
- LOAM: 'loam'
67
- LOAMYSAND: 'loamy sand'
68
- SAND: 'sand'
69
- SILT: 'silt'
70
 
71
  class Soil(BaseModel):
72
  description: str = Field(..., title="Description", description="A general description of the soil")
 
35
 
36
  # Depending on how well this works, come back and hard-code this based on some parameter(s)
37
  class Convention(str, Enum):
38
+ ACTIVITY = 'log--activity'
39
+ OBSERVATION = 'log--observation'
40
+ FLAMING = 'log--activity--flaming'
41
+ GRAZING = 'log--activity--grazing'
42
+ MOWING = 'log--activity--mowing'
43
+ SOLARIZATION = 'log--activity--solarization'
44
+ TERMINATION = 'log--activity--termination'
45
+ TILLAGE = 'log--activity--tillage'
46
+ HARVEST = 'log--activity--harvest'
47
+ HERBICIDE = 'log--input--herbicide_or_pesticide'
48
+ IRRIGATION = 'log--input--irrigation'
49
+ LIME = 'log--input--lime'
50
+ ORGANIC = 'log--input--organic_matter'
51
+ SEEDTREAT = 'log--input--seed_treatment'
52
+ SEEDLINGTREAT = 'log--input--seedling_treatment'
53
+ MODUS = 'log--lab_test--modus_lab_test'
54
+ SEEDING = 'log--seeding--seeding'
55
+ TRANSPLANT = 'log--transplanting--transplant'
56
 
57
  class Structure(str, Enum):
58
+ CLAY = 'clay'
59
+ SANDYCLAY = 'sandy clay'
60
+ SILTYCLAY = 'silty clay'
61
+ SANDYCLAYLOAM = 'sandy clay loam'
62
+ SILYCLAMLOAM = 'silty clay loam'
63
+ CLAYLOAM = 'clay loam'
64
+ SANDYLOAM = 'sandy loam'
65
+ SILTLOAM = 'silt loam'
66
+ LOAM = 'loam'
67
+ LOAMYSAND = 'loamy sand'
68
+ SAND = 'sand'
69
+ SILT = 'silt'
70
 
71
  class Soil(BaseModel):
72
  description: str = Field(..., title="Description", description="A general description of the soil")