Skip to content

Commit 3d8e128

Browse files
authored
Merge pull request #20 from pjoiner/0.1.8-Pre
fixed case for Code directory
2 parents ee6e131 + d53a39d commit 3d8e128

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

notebooks/06_DataMapping.ipynb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
"language": "csharp"
2020
}
2121
},
22+
"outputs": [],
2223
"source": [
2324
"#r \"nuget:DwC-A_dotnet,0.6.0\"\n",
2425
"#r \"nuget:DwC-A_dotnet.Mapping,0.6.1\"\n",
2526
"#r \"nuget:DwC-A_dotnet.Interactive,0.1.8-Pre\""
26-
],
27-
"outputs": []
27+
]
2828
},
2929
{
3030
"cell_type": "markdown",
@@ -43,15 +43,15 @@
4343
"language": "csharp"
4444
}
4545
},
46+
"outputs": [],
4647
"source": [
4748
"using DwC_A;\n",
4849
"\n",
4950
"var outputPath = \"./data/Papilionidae.zip\";\n",
5051
"var archive = new ArchiveReader(outputPath);\n",
5152
"\n",
5253
"archive"
53-
],
54-
"outputs": []
54+
]
5555
},
5656
{
5757
"cell_type": "markdown",
@@ -72,10 +72,10 @@
7272
"language": "csharp"
7373
}
7474
},
75+
"outputs": [],
7576
"source": [
76-
"#load \"./code/Occurrence.cs\""
77-
],
78-
"outputs": []
77+
"#load \"./Code/Occurrence.cs\""
78+
]
7979
},
8080
{
8181
"cell_type": "markdown",
@@ -94,6 +94,7 @@
9494
"language": "csharp"
9595
}
9696
},
97+
"outputs": [],
9798
"source": [
9899
"using DwC_A.Mapping;\n",
99100
"using DwC_A.Terms;\n",
@@ -106,8 +107,7 @@
106107
" o.DecimalLongitude = row.Convert<double>(Terms.decimalLongitude);\n",
107108
" o.DecimalLatitude = row.Convert<double>(Terms.decimalLatitude);\n",
108109
"});"
109-
],
110-
"outputs": []
110+
]
111111
},
112112
{
113113
"cell_type": "markdown",
@@ -126,13 +126,13 @@
126126
"language": "csharp"
127127
}
128128
},
129+
"outputs": [],
129130
"source": [
130131
"archive.CoreFile\n",
131132
" .Map<Occurrence>(mapper)\n",
132133
" .Take(100)\n",
133134
" .Select(n => new{n.GbifID, n.Identifier, n.ScientificName, n.DecimalLatitude, n.DecimalLongitude})"
134-
],
135-
"outputs": []
135+
]
136136
}
137137
],
138138
"metadata": {
@@ -151,4 +151,4 @@
151151
},
152152
"nbformat": 4,
153153
"nbformat_minor": 4
154-
}
154+
}

0 commit comments

Comments
 (0)