question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting inherit_primary_header=True in general.cfg does not work anymore

See original GitHub issue

I have inherit_primary_header = True set in ~/.ginga/general.cfg but it no longer makes AstroImage inherit primary header on load, even though the primary header still displays in Header plugin when you ask for it. What I mean is the following:

from ginga.AstroImage import AstroImage

im = AstroImage()
im.load_file("myimage.fits")
im.get_header()  # No longer has primary header included

This causes a plugin in stginga to misbehave.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:17 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
ejeschkecommented, Feb 11, 2022

I will probably still need to modify the change log a bit.

I updated the WhatsNew changelog to match the changes.

1reaction
pllimcommented, Feb 10, 2022

Yes, seems to work again with your commit to master with existing unmodified plugin. Thanks for the quick fix! I’ll test the dev version a bit more with other things and report back. 🙇‍♀️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Agents - Configuration File Reference | Consul
Use agent configuration files to assign attributes to agents and configure multiple agents at once. Learn about agent configuration file parameters and ...
Read more >
Configuration - Gerrit Code Review
config is a Git-style config file that controls many host specific settings for Gerrit. The contents of the etc/gerrit. config file are cached...
Read more >
git-config Documentation - Git
When writing, the new value is written to the repository local configuration file by default, and options --system , --global , --worktree ,...
Read more >
NET Framework 4 migration issues - Microsoft Learn
Learn about migration issues between .NET Framework 3.5 Service Pack 1 and .NET Framework 4, including fixes and changes for standards ...
Read more >
App.Config: Basics and Best Practices - SubMain Blog
NET Framework application in Visual Studio, an app.config file is added to your project. When you create a class library or a .NET...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found