Skip to content

Commit cdc5b2a

Browse files
committed
fix broken tests
1 parent e75602b commit cdc5b2a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/edu/ie3/datamodel/io/connectors/CsvFileConnector.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,10 @@ public BufferedReader initIdCoordinateReader() throws FileNotFoundException {
264264
* @return A set of relative paths to time series files, with respect to the base folder path
265265
*/
266266
private Set<String> getIndividualTimeSeriesFilePaths() {
267-
Path baseDirectoryPath = Paths.get(FilenameUtils.getPath(baseDirectoryName));
267+
Path baseDirectoryPath =
268+
Paths.get(
269+
FilenameUtils.getFullPath(baseDirectoryName)
270+
+ FilenameUtils.getName(baseDirectoryName));
268271
try (Stream<Path> pathStream = Files.walk(baseDirectoryPath)) {
269272
return pathStream
270273
.map(baseDirectoryPath::relativize)

0 commit comments

Comments
 (0)