GithubHelp home page GithubHelp logo

Comments (5)

kedrikec avatar kedrikec commented on June 8, 2024

from dascore.

RosieZhu avatar RosieZhu commented on June 8, 2024

Hi Rosie did you try to make the location a txt variable and link. I use import os it for other applications. is the cluster Linux? did you try chmod? import os file_path = "/path/to/your/file" # Check if the file exists if os.path.exists(file_path): # Change the permissions of the file # Set the permission to read-write for owner, and read for group and others os.chmod(file_path, 0o644) else: print(f"The file {file_path} does not exist")

On Mon, Apr 24, 2023 at 12:52 Rosie Zhu @.> wrote: Hello, I wonder if I can save the index file to a specified location, instead of in the folder. I'm working on a cluster and writing to the data folder needs more permission. Thank you! Rosie — Reply to this email directly, view it on GitHub <#129>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECSZMGKKB3PMIFPXTKSO73XC24VTANCNFSM6AAAAAAXJ5HSCE . You are receiving this because you are subscribed to this thread.Message ID: @.>

Hi Burak!

Thanks for the response! I think I can get the permission if I need to, I'm just trying to avoid writing to the original data folder.

Rosie

from dascore.

d-chambers avatar d-chambers commented on June 8, 2024

HI @RosieZhu ,

Yes, this would be a useful feature. We are having a similar discussion about this feature in ObsPlus here.

It shouldn't be a lot of work, I think patch would just have an optional index_path argument. I won't be able to get to it until the end of the semester though, in a bit of a time crunch right now.

from dascore.

RosieZhu avatar RosieZhu commented on June 8, 2024

from dascore.

d-chambers avatar d-chambers commented on June 8, 2024

closed by #131

from dascore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.