Skip to content

Updated import#88

Open
James-ezechinyere wants to merge 2 commits intoopenclimatefix:mainfrom
James-ezechinyere:updated_import
Open

Updated import#88
James-ezechinyere wants to merge 2 commits intoopenclimatefix:mainfrom
James-ezechinyere:updated_import

Conversation

@James-ezechinyere
Copy link

@James-ezechinyere James-ezechinyere commented Apr 6, 2025

Pull Request

Description

This pull request fixes an import path issue in the data. The import statement was causing problems, and this commit corrects it to point to the correct location.

Fixes #

How Has This Been Tested?

This correction has been tested by running each script based on the description in the documentation.

  • Yes

If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?

  • Yes

Checklist:

  • My code follows OCF's coding style guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

@codecov
Copy link

codecov bot commented Apr 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@80a6eb7). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #88   +/-   ##
=======================================
  Coverage        ?   51.04%           
=======================================
  Files           ?       14           
  Lines           ?     1007           
  Branches        ?        0           
=======================================
  Hits            ?      514           
  Misses          ?      493           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

import sys
import pathlib

src_dir = pathlib.Path(__file__).parent.parent / 'src'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we just put this once in the confest.py?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @peterdudfield help me clarify. I can't find the confest.py module to respond to this, kindly help me out

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you might have to make one?

btw, are you sure this is necessary?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants